const db = uniCloud.database();
exports.main = async (event, context) => {
	let {detail} = event;
	return db.collection("article").add({
		"postTime":Date.now(),
		...detail
	});
};
